﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace K9Nano.Domain.Entities;

/// <summary>
/// 角色实体类
/// </summary>
public abstract class RoleBase : AuditEntityBase
{
    [StringLength(50)]
    public string Code { get; set; }

    [StringLength(50)]
    public string Name { get; set; }
}